const request = require('./request')

module.exports.getServerInfo = () => {
    return request({
        url: '/serverInfo',
        method: 'get'
    })
}

module.exports.uploadNodeInfo = (data) => {
    return request({
        url: '/uploadNodeInfo',
        method: 'post',
        data: data
    })
}